﻿using System.Collections.Generic;

namespace NMA.Infrastructure.NHibernate.Paging
{
    using NMA.Domain.Shared.Paging;

    public class PagedList<T> : List<T>, IPagedList<T>
    {
        public int TotalCount { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        
        public void AddItem(T item)
        {
            this.Add(item);
        }
    }
}